{include file="header.tpl" title="Bao tri par_agmifolist "}
<form action="" method="post" name ="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" >
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
  <tr>
    <td>{$lbl_SETCD}</td>
    <!----{if $activefield eq 'enabled'} disabled="disabled"{/if}--->
    <td style="color:#FF0000" colspan="3">
<select id="SETCD" name="SETCD" size="1" style="background:{$colorSETCD}" >  
 		<option value=""></option>
 		{foreach from=$cbo_SETCD key=k item=v}        
      <option value="{$k}" {if $SETCD eq $k} selected="selected" {/if}>{$k} - {$v}</option>       
 		{/foreach}     
    </select>
	*
	<input type="hidden" name="tmpSETCD" id="tmpSETCD" value="{$SETCD}" />
    <input type="submit" id="replacement_find" name="find" value="    " {if $activefield eq 'enabled'} disabled="disabled" {/if} />      </td>
  </tr>
  
  <tr>
    <td>{$lbl_GRPCODE}</td>
    <td colspan="3"><select id="GRPCODE" name="GRPCODE" size="1" style="background:{$colorGRPCODE}">	    
		<option value=""></option>
 		{foreach from=$cbo_GRPCODE key=k item=v} 	       
      <option value="{$k}" {if $GRPCODE eq $k} selected="selected" {/if}>{$k}</option>
 		{/foreach}	      
    </select>
      <span style="color:#FF0000">* </span>
	<input type="hidden" name="tmpGRPCODE" id="tmpGRPCODE" value="{$GRPCODE}" />
    </span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_ITEMGRPCODE}</td>
    <td colspan="3"><select id="ITEMGRPCODE" name="ITEMGRPCODE" size="1" style="background:{$colorITEMGRPCODE}">  
		<option value=""></option>  
 		{foreach from=$cbo_ITEMGRPCODE key=k item=v} 	       
      <option value="{$k}" {if $ITEMGRPCODE eq $k} selected="selected" {/if}>{$k}</option>
 		{/foreach}	      
    </select>  
	  <span style="color:#FF0000">* </span>
	  <input type="hidden" name="tmpITEMGRPCODE" id="tmpITEMGRPCODE" value="{$ITEMGRPCODE}" />	  </td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_GRPRATE}</td>
    <td colspan="3"><input name="ITEMGRPDRATE" type="text" id="ITEMGRPDRATE" value="{$ITEMGRPDRATE}" size="20" maxlength="4" style="background:{$colorGRPRATE}; text-align:right;" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" onblur="formatNumber2(this,this.value,2,2)" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_ITEMCODE}</td>
    <td colspan="3"><select id="ITEMCODE" name="ITEMCODE" size="1" style="background:{$colorITEMCODE}" >
        <option value=""></option>
 		{foreach from=$cbo_ITEMCODE key=k item=v} 	         
      <option value="{$k}" {if $ITEMCODE eq $k} selected="selected" {/if}>{$k}</option>
 		{/foreach}	       
    </select>   
	  <span style="color:#FF0000">* </span>
	  <input type="hidden" name="tmpITEMCODE" id="tmpITEMCODE" value="{$ITEMCODE}" />	 </td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_ITEMRATE}</td>
    <td colspan="3"><input name="ITEMRATE" type="text" id="ITEMRATE" value="{$ITEMRATE}" size="20" maxlength="4" style="background:{$colorITEMRATE}; text-align:right;" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" onblur="formatNumber2(this,this.value,2,2)" />
      <span style="color:#FF0000">*</span></td>
  </tr>
  
  <tr>
    <td nowrap="nowrap">{$lbl_CURSECTOR}</td>
    <td colspan="3"><select id="CURSECTOR" name="CURSECTOR" size="1" style="background:{$colorCURSECTOR}">  	
		<option value=""></option>    
 		{foreach from=$cbo_CURSECTOR key=k item=v} 	         
      <option value="{$k}" {if $CURSECTOR eq $k} selected="selected" {/if}>{$k} - {$v}</option>
 		{/foreach}	        
    </select>
      <span style="color:#FF0000">* </span> 
	<input type="hidden" name="tmpCURSECTOR" id="tmpCURSECTOR" value="{$CURSECTOR}" />	   </td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_CURSCALE}</td>
    <td colspan="3"><select id="CURSCALE" name="CURSCALE" size="1" style="background:{$colorCURSCALE}"> 
		<option value=""></option> 	    
 		{foreach from=$cbo_CURSCALE key=k item=v} 	        
      <option value="{$k}" {if $CURSCALE eq $k} selected="selected" {/if}>{$k} - {$v}</option>
 		{/foreach}	      
    </select>
      <span style="color:#FF0000">* </span>    
	<input type="hidden" name="tmpCURSCALE" id="tmpCURSCALE" value="{$CURSCALE}" />	</td>
    </tr> 
	
	<tr>
    <td nowrap="nowrap">{$lbl_MIN}</td>
    <td colspan="3"><input name="MIN" type="text" id="MIN" value="{$MIN}" size="20" maxlength="20" style="background:{$colorMIN}; text-align:right;" onkeypress="return numberOnly(event);" onblur="formatNumberNull(this,this.value,18,2)"/>
	  <span style="color:#FF0000">* </span>
	  <input type="hidden" name="tmpMIN" id="tmpMIN" value="{$MIN}" />	</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_MAX}</td>
    <td colspan="3"><input name="MAX" type="text" id="MAX" value="{$MAX}" size="20" maxlength="20" style="background:{$colorMAX}; text-align:right;" onkeypress="return numberOnly(event);" onblur="formatNumberNull(this,this.value,18,2)" />
      <span style="color:#FF0000">* </span>
	<input type="hidden" name="tmpMAX" id="tmpMAX" value="{$MAX}" />	</td>
  </tr>
<tr>
<td colspan="4">
<p>
<p></td>
</tr>
<tr>

<td colspan="4" align="right" nowrap="nowrap">
    <input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'SETCD-GRPCODE-ITEMGRPCODE-ITEMRATE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input type="submit" name="capnhat" value="{$ten_cap_nhat}" {if $activefield eq 'disabled' }disabled="disabled" {/if} class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" /></td>
  </tr>
<tr>
<td align="left" nowrap="nowrap" colspan="4">
<input name="addnew" type="submit" value="{$ten_themmoi}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input name="detail" type="submit" value="{$ten_chitiet}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>

<tr>
<td colspan="3">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td width="69%" align="right" nowrap="nowrap"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
